package com.framework.pojo;

import java.io.Serializable;

/**
 * 用户角色关联表
 * @author 刘遥
 */
public class UserRole implements Serializable {

	private static final long serialVersionUID = 7196233400489211615L;
	
	private String id;						// 关联编号
	private User user;						// 用户编号
	private Role role;						// 角色编号
	private int enabled = 0;				// 是否启用.  0: 禁用; 1: 正常
	
	public UserRole() {
		
	}

	public String getId() {
		return id;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Role getRole() {
		return role;
	}

	public void setRole(Role role) {
		this.role = role;
	}

	public int getEnabled() {
		return enabled;
	}

	public void setEnabled(int enabled) {
		this.enabled = enabled;
	}
	
}
